home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / include / locale.h < prev    next >
C/C++ Source or Header  |  1994-02-01  |  896b  |  44 lines

  1.  
  2. /*
  3.  * $VER: locale.h 1.0 (17.4.93)
  4.  *
  5.  * (c)Copyright 1992 Obvious Implementations Corp, All Rights Reserved
  6.  */
  7.  
  8. #ifndef LOCALE_H
  9. #define LOCALE_H
  10.  
  11. typedef struct lconv {
  12.     char    *decimal_point;
  13.     char    *thousands_sep;
  14.     char    *grouping;
  15.     char    *int_curr_symbol;
  16.     char    *currency_symbol;
  17.     char    *mon_decimal_point;
  18.     char    *mon_thousands_sep;
  19.     char    *mon_grouping;
  20.     char    *positive_sign;
  21.     char    *negative_sign;
  22.     char    int_frac_digits;
  23.     char    frac_digits;
  24.     char    p_cs_precedes;
  25.     char    p_sep_by_space;
  26.     char    n_cs_precedes;
  27.     char    n_sep_by_space;
  28.     char    p_sign_posn;
  29.     char    n_sign_posn;
  30. } lconv;
  31.  
  32. #define LC_ALL        -1
  33. #define LC_COLLATE    1
  34. #define LC_CTYPE    2
  35. #define LC_MONETARY    3
  36. #define LC_NUMERIC    4
  37. #define LC_TIME     5
  38.  
  39. extern struct lconv *localeconv(void);
  40. extern char *setlocale(int, const char *);
  41.  
  42. #endif
  43.  
  44.